package com.hmall.api.cart;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * 购物车服务
 *
 * @Author mr.li
 * @Date 2025/8/20 22:27
 */
@FeignClient(name = "cart-service", path = "/carts")
public interface CartClient {

    /**
     * 删除购物车
     * @param ids
     */
    @DeleteMapping
    public void deleteCartItemByIds(@RequestParam("ids") List<Long> ids);
}
